avcodec/libx265: unbreak build for X265_BUILD >= 213
Earlier, x265 made an API change to support alpha and
other multiple layer pictures. We added guards to accommodate
that in
1f801dfdb5
They have now reverted that API change in
https://bitbucket.org/multicoreware/x265_git/commits/
78e5b703b1
Updated our wrapper guards to unbreak build again.
Gbp-Pq: Name 0007-avcodec-libx265-unbreak-build-for-X265_BUILD-213.patch
fftools: log unconnected filter output label
(cherry picked from commit
f25c9cc213c7e3eb585d3339eb775b16921c4d98)
Gbp-Pq: Name 0006-fftools-log-unconnected-filter-output-label.patch
fftools: do not access out of bounds filtergraph
The log message was logged for `filtergraphs[j]` which would cause a
heap buffer overflow in certain circumstances.
Correctly it should be logged for the current filtergraph, so just
use `fg` here.
(cherry picked from commit
5beeb3a1f97d8f6d4076fe83aaf5e2e5871f945e)
Gbp-Pq: Name 0005-fftools-do-not-access-out-of-bounds-filtergraph.patch
avcodec/mediacodecenc: Fix access of uninitialized value
When crop is skipped, av_strlcatf will access `str` which isn't
initialized properly.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
(cherry picked from commit
eff9ed7bff45998ea370e3d6f627529ad47e2e74)
Gbp-Pq: Name 0004-avcodec-mediacodecenc-Fix-access-of-uninitialized-va.patch
avformat/img2enc: Fix integer truncation when frame_pts is enabled
Fix #11194
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
(cherry picked from commit
f56a54387b9cea884ca139e9cb993ff6989b8def)
Gbp-Pq: Name 0003-avformat-img2enc-Fix-integer-truncation-when-frame_p.patch
avformat/internal: Add ff_get_frame_filename
It's similar to av_get_frame_filename2 but with int64_t number
support. Make av_get_frame_filename* a wrapper over
ff_get_frame_filename.
Co-authored-by: Filip Mašić <shoutplenty@gmail.com>
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
(cherry picked from commit
a2d9663241908d6f558b8e6b24bd42f2aaebc144)
Gbp-Pq: Name 0002-avformat-internal-Add-ff_get_frame_filename.patch
avformat/mov: don't return the latest stream when an item stream is expected
Otherwise, things like ICC profiles as read from the colr box meant for an item
with no stream (like a grid) may end up being added to the wrong stream.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit
04182b55494b44152146e6a6bcd5eb9403f00625)
Gbp-Pq: Name 0001-avformat-mov-don-t-return-the-latest-stream-when-an-.patch